package com.example.SpringIoCpractice;


import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

//TODO
public class Main {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("hello.xml");
        HelloWorld helloworld = (HelloWorld) applicationContext.getBean("main");
        helloworld.getHello();
    }
}